import { Component, OnInit } from '@angular/core';
import { NzMessageService } from 'ng-zorro-antd';
@Component({
  selector: 'app-news',
  templateUrl: './news.component.html',
  styleUrls: ['./news.component.styl']
})
export class NewsComponent implements OnInit {
  array = [1,2,2];
  // oldnews = [
  //   1,2

  // ];
  constructor(private message: NzMessageService) { }
  ngOnInit() {
  }
  btn(){
    // console.log("btrm")
  }
  createMessage(type: string): void {
    this.message.create(type, `页面正在开发中，了解新鲜事可关注公众号：科创开发中心！`);
  }
}
